import request from '../utils/request.js'

export const allRanking = () => request({
  // 所有榜单
  method: 'get',
  url: '/toplist'
})
export const playList = params => request({
  // 获取歌单详情
  method: 'get',
  url: '/playlist/detail',
  params
})